<template>
  <div class="address">
    <span v-if="$route.path === '/home/homepage'" class="left-item"
      ><van-icon name="location-o" />地址</span
     >
    <span class="right-item">景灏物联</span>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">

.address {
  width: 100%;
  display: flex;
  justify-content:space-between;
  .left-item{
    flex: 1;
  }

  .right-item{
    flex: 1;
    text-align:right
  }
}
</style>
